#!/bin/sh
APP_LIB=/tmp/lib/
export APP_LIB

APP_JAR=/app.jar

MAIN_CLASS=com.xwolf.test.MyApplication
export MAIN_CLASS

CLASSPATH=$APP_JAR:`find $APP_LIB -name \*.jar | sort | paste -s -d ":" -`:${CLASSPATH}
export CLASSPATH


exec java "-Djava.security.egd=file:/dev/./urandom" $JAVA_VM_OPTS $MAIN_CLASS